package cn.wolfcode.shop.cloud.util;

import cn.wolfcode.shop.cloud.key.KeyPrefix;

public class MemberKeyPrefix implements KeyPrefix {

    private int expireTime;
    private String keyPrefix;
    public MemberKeyPrefix(int expireTime, String keyPrefix) {
        this.expireTime = expireTime;
        this.keyPrefix = keyPrefix;
    }
    public MemberKeyPrefix() {
    }
    @Override
    public int getExpireTime() {
        return this.expireTime;
    }
    @Override
    public String getKeyPrefix() {
        return this.keyPrefix;
    }
    public static final MemberKeyPrefix USER_TOKEN=new MemberKeyPrefix(1800,"user_token:");



}
